package com.lili.operate.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lili.model.operate.Distribution;

import java.util.Map;

public interface DistributionService {
    /**
     * 根据条件进行查询
     * @param map
     * @return
     */
    public Page<Distribution> queryDistribution(Map map);

    /**
     * 更新分销商的状态
     * @param id
     * @param status
     * @return
     */
    public int updateStatus(long id,String status);
}
